package com.cookor.poi.modules.phy.entity;

import com.cookor.poi.common.persistence.DataEntity;
import com.cookor.poi.modules.tenant.entity.TTenant;
import javax.validation.constraints.NotNull;

public class TSchedueTemplate extends DataEntity<TSchedueTemplate> {
  private static final long serialVersionUID = 1L;
  
  private Integer tenantId;
  
  private Integer officeId;
  
  private Integer doctorId;
  
  private Integer mon;
  
  private Integer tue;
  
  private Integer wed;
  
  private Integer thu;
  
  private Integer fri;
  
  private Integer sat;
  
  private Integer sun;
  
  private Integer am;
  
  private Integer pm;
  
  private TTenant tenant;
  
  private TDoctor doctor;
  
  private String tenantName;
  
  private String doctorName;
  
  private TOffice office;
  
  private String officeName;
  
  public TSchedueTemplate() {}
  
  public TSchedueTemplate(String id) {
    super(id);
  }
  
  @NotNull(message = "租户id不能为空")
  public Integer getTenantId() {
    return this.tenantId;
  }
  
  public void setTenantId(Integer tenantId) {
    this.tenantId = tenantId;
  }
  
  @NotNull(message = "诊室id不能为空")
  public Integer getOfficeId() {
    return this.officeId;
  }
  
  public void setOfficeId(Integer officeId) {
    this.officeId = officeId;
  }
  
  @NotNull(message = "医生id不能为空")
  public Integer getDoctorId() {
    return this.doctorId;
  }
  
  public void setDoctorId(Integer doctorId) {
    this.doctorId = doctorId;
  }
  
  @NotNull(message = "周一不能为空")
  public Integer getMon() {
    return this.mon;
  }
  
  public void setMon(Integer mon) {
    this.mon = mon;
  }
  
  @NotNull(message = "周二不能为空")
  public Integer getTue() {
    return this.tue;
  }
  
  public void setTue(Integer tue) {
    this.tue = tue;
  }
  
  @NotNull(message = "周三不能为空")
  public Integer getWed() {
    return this.wed;
  }
  
  public void setWed(Integer wed) {
    this.wed = wed;
  }
  
  @NotNull(message = "周四不能为空")
  public Integer getThu() {
    return this.thu;
  }
  
  public void setThu(Integer thu) {
    this.thu = thu;
  }
  
  @NotNull(message = "周五不能为空")
  public Integer getFri() {
    return this.fri;
  }
  
  public void setFri(Integer fri) {
    this.fri = fri;
  }
  
  @NotNull(message = "周六不能为空")
  public Integer getSat() {
    return this.sat;
  }
  
  public void setSat(Integer sat) {
    this.sat = sat;
  }
  
  @NotNull(message = "周日不能为空")
  public Integer getSun() {
    return this.sun;
  }
  
  public void setSun(Integer sun) {
    this.sun = sun;
  }
  
  @NotNull(message = "上午号源数不能为空")
  public Integer getAm() {
    return this.am;
  }
  
  public void setAm(Integer am) {
    this.am = am;
  }
  
  @NotNull(message = "下午号源数不能为空")
  public Integer getPm() {
    return this.pm;
  }
  
  public void setPm(Integer pm) {
    this.pm = pm;
  }
  
  public TTenant getTenant() {
    return this.tenant;
  }
  
  public void setTenant(TTenant tenant) {
    this.tenant = tenant;
  }
  
  public TDoctor getDoctor() {
    return this.doctor;
  }
  
  public void setDoctor(TDoctor doctor) {
    this.doctor = doctor;
  }
  
  public String getTenantName() {
    return this.tenantName;
  }
  
  public void setTenantName(String tenantName) {
    this.tenantName = tenantName;
  }
  
  public String getDoctorName() {
    return this.doctorName;
  }
  
  public void setDoctorName(String doctorName) {
    this.doctorName = doctorName;
  }
  
  public TOffice getOffice() {
    return this.office;
  }
  
  public void setOffice(TOffice office) {
    this.office = office;
  }
  
  public String getOfficeName() {
    return this.officeName;
  }
  
  public void setOfficeName(String officeName) {
    this.officeName = officeName;
  }
}
